#ifndef MAINMENU_H
#define MAINMENU_H

// Libraries
#include "state.h"
#include "singleton.h"

// Classes
class MainMenuState : public CState, public Singleton<MainMenuState>
{
	public:
		enum ElementType 
		{
			ELEMENT_SINGLEPLAYER,
			ELEMENT_MULTIPLAYER,
			ELEMENT_OPTIONS,
			ELEMENT_EXIT,
		};

		bool Show();
		bool Hide();
		
		bool HandleKeyPress(EKEY_CODE TKey);
		void HandleGUI(EGUI_EVENT_TYPE TEventType, IGUIElement *TElement);

		void Update(u32 TDeltaTime);
		void Draw();

	private:

		void StartSinglePlayer();

};

#endif
